import { Injectable } from '@angular/core';
import { CmHttp } from "http-module";
import { BASEURL } from "shared";

const DYNAMIC_TYPES = {
  "HS": "hs",
  "SH": "sh",
  "SZ": "sz",
  "SMSE": "smse",
  "GEM": "gem"
};


const TABLE_SET = {
  [DYNAMIC_TYPES.HS]: `${BASEURL}/stock/quotes/market?type=0`
}

@Injectable()
export class DynamicTableService {

  constructor(private http: CmHttp) { }

  getMoreData(tableType: string, pageIndex: number = 0, perPage: number = 20, sortBy?: string, sortType: number = 1) {
    // return this.http.get
  }

}